package top.smallway.lightbandassistant_app.UI.type;

public enum FindMessageType implements BaseType{
    SONG_LIST_DATA(0),
    SINGLE_SONG_DATA(1),
    SEARCH_SUGGESTIONS(2),
    LOADING_ERROR(-1),
    SONG_NOT_EXIST(-2);

    private final int value;

    public int getValue(){
        return value;
    }
    FindMessageType(int value){
        this.value = value;
    }

    public static FindMessageType fromValue(int value) {
        return TypeUtil.fromValue(FindMessageType.class, value);
    }
}
